﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Pages/MasterPage.master" AutoEventWireup="true" CodeFile="SizeList.aspx.cs" Inherits="Admin_Pages_SizeList" Title="Untitled Page" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v8.2, Version=8.2.4.0, Culture=neutral, PublicKeyToken=49d90c14d24271b5"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="wraptitle">
    <h1>Size List</h1>
    <title>Management System</title>
</div>
<div class="wrapcontent">
    <dxwgv:ASPxGridView ID="ASPxGridView1" runat="server">
     <Columns>
            <dxwgv:GridViewDataTextColumn Caption="Size" FieldName="Size_Name"/>
            <dxwgv:GridViewDataTextColumn Caption="Price" FieldName="Price"/>
            <dxwgv:GridViewDataColumn Caption="Function">
                <DataItemTemplate>
                    <img alt='view' src='../Images/edit.png' width='20px' height='20px'><a href='../Pages/SizeEdit.aspx?sizeid=<%# Eval("Size_ID") %>'>Edit</a><img alt='delete' src='../Images/delete.png' width='20px' height='20px'><a href='#' onclick="if(confirm('Are you sure?')){window.location='../Pages/SizeDelete.aspx?sizeid=<%# Eval("Size_ID") %>';}">Delete</a>
                </DataItemTemplate>
            </dxwgv:GridViewDataColumn>
        </Columns>
    </dxwgv:ASPxGridView>
</div>
</asp:Content>

